import { PartialType } from '@nestjs/mapped-types';
import { CreateUserDto } from './create-user.dto';
import { IntersectionType } from '@nestjs/mapped-types';
import { NewsPaginationParams } from '../../agent_manag/dto/update-agent_manag.dto';

export class UpdateUserDto extends PartialType(CreateUserDto) {}

export class FindAllDto extends IntersectionType(
  NewsPaginationParams,
  UpdateUserDto,
) {}
